package com.icinfo.cloud.provider.punish.ucase.punishexecute.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @Description 分期缴纳罚款实体类
 * @Author mahan
 * @Date 2022/9/20
 * @Version 1.0
 */
@Data
@Table(name = "upcase.case_delay_installment_pay_fine_detail")
public class CaseDelayInstallmentPayFineDetail implements Serializable {
    private static final long serialVersionUID = 1L;

    @Id
    @Column(name = "id")
    private String id;

    /**
     * 延期分期表主键ID
     */
    @Column(name = "case_installment_id")
    private String caseInstallmentId;

    /**
     * 分期期数
     */
    @Column(name = "installment_number")
    private String installmentNumber;

    /**
     * 还款日期
     */
    @Column(name = "installment_pay_date")
    private String installmentPayDate;

    /**
     * 每期还款金额
     */
    @Column(name = "installment_pay_amount")
    private String installmentPayAmount;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime createTime;

    /**
     * 排序使用
     */
    @Column(name = "installment_sort")
    private Integer installmentSort;
}
